package com.woniuxy.lrz.carlproject.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 汽车品牌表
 * </p>
 *
 * @author lrz
 * @since 2022-09-28
 */
@TableName("car_brand")
@ApiModel(value = "CarBrand对象", description = "汽车品牌表")
public class CarBrand implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "car_brand_id", type = IdType.AUTO)
    private Integer carBrandId;

    @ApiModelProperty("汽车品牌名称")
    private String carBrandName;

    @ApiModelProperty("逻辑删除(0正常，1删除)")
    private Integer deleted;

    public Integer getCarBrandId() {
        return carBrandId;
    }

    public void setCarBrandId(Integer carBrandId) {
        this.carBrandId = carBrandId;
    }

    public String getCarBrandName() {
        return carBrandName;
    }

    public void setCarBrandName(String carBrandName) {
        this.carBrandName = carBrandName;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "CarBrand{" +
        "carBrandId = " + carBrandId +
        ", carBrandName = " + carBrandName +
        ", deleted = " + deleted +
        "}";
    }
}
